home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 49
/
Aminet 49 (2002)(GTI - Schatztruhe)[!][Jun 2002].iso
/
Aminet
/
util
/
sys
/
AmberRAM.lha
/
AmberRAM
/
Source
/
Makefile
< prev
next >
Wrap
Makefile
|
2002-02-10
|
637b
|
35 lines
# File: Makefile
CFLAGS = -msmall-code -DAMIGAOS -O2 -ansi -m68000
CC = gcc $(CFLAGS)
MAKEFILE = Makefile
LINKER = ld -e _Main -s
AMIGA_LIB = GG:lib/libamiga.a
HANDLER = amber-ram-handler
OBJS = handler.o commands.o filesystem.o notification.o support.o
HDRS = handler.h handler_protos.h
STARTUP = startup.o
.c.o :
$(CC) -c $<
$(HANDLER): $(STARTUP) $(MAKEFILE) $(OBJS)
$(LINKER) $(STARTUP) $(OBJS) $(AMIGA_LIB) -o $(HANDLER)
Protect "$(HANDLER)" -e
$(OBJS): $(MAKEFILE) $(HDRS)
install: $(HANDLER)
Copy CLONE "$(HANDLER)" "L:"
test: $(HANDLER)
Execute "Dismount" "RAM1:"
Mount "RAM1"
clean:
Delete "$(HANDLER)" "#?.o"